package com.cykj.page04.test;

/**
 * @BelongsProject: HandTomcat
 * @BelongsPackage: com.cykj.page01.test
 * @Author: WWJ
 * @CreateTime: 2025-06-19 11:37
 * @Description: TODO
 * @Version: 1.0
 */
public class Lesson01 {
    public static void main(String[] args) throws Exception {
        //1.Class.formName("全路径")
        //2.类名.class
        //3.对象.getClass
        //Class.formName("全路径") == 》 字节码文件对象
        Class<?> cls = Class.forName("com.cykj.test.Student");

        //2.类名.class
        Class<Student> studentClass = Student.class;

        Class<? extends Student> aClass = new Student().getClass();
    }
}
